import request from '@/utils/request'

// 查询压力理论衰减值列表
export function listDispatchTheoreticalPressureDecayValues(query) {
  return request({
    url: '/system/dispatchTheoreticalPressureDecayValues/list',
    method: 'get',
    params: query
  })
}

// 查询压力理论衰减值详细
export function getDispatchTheoreticalPressureDecayValues(theoreticalPressureDecayValuesId) {
  return request({
    url: '/system/dispatchTheoreticalPressureDecayValues/' + theoreticalPressureDecayValuesId,
    method: 'get'
  })
}

// 新增压力理论衰减值
export function addDispatchTheoreticalPressureDecayValues(data) {
  return request({
    url: '/system/dispatchTheoreticalPressureDecayValues',
    method: 'post',
    data: data
  })
}

// 修改压力理论衰减值
export function updateDispatchTheoreticalPressureDecayValues(data) {
  return request({
    url: '/system/dispatchTheoreticalPressureDecayValues',
    method: 'put',
    data: data
  })
}

// 删除压力理论衰减值
export function delDispatchTheoreticalPressureDecayValues(theoreticalPressureDecayValuesId) {
  return request({
    url: '/system/dispatchTheoreticalPressureDecayValues/' + theoreticalPressureDecayValuesId,
    method: 'delete'
  })
}
